package com.sardine.base.mybatis;

/**
 * 上海京东到家元信信息技术有限公司<br>
 * Created with IntelliJ IDEA.
 * Date:2017/12/12
 * Time:19:53
 * mybatis 分页查询接口
 * @author daifeng<br>
 *         daifeng@imdada.cn
 * @since JDK 1.7 <br>
 * Copyright (c) 2017 imdada System Incorporated All Rights Reserved.
 */
public interface MyBatisPageBean {
    /**
     * 获取当前页码
     * @return
     */
    public long getPageNo();

    /**
     * 获取每页显示记录数
     * @return
     */
    public int getPageSize();

    /**
     * 设置当前查询到的总记录数
     * @param totalCount
     */
    public void setTotalCount(long totalCount);
}
